<%= render partial: 'spree/admin/shared/error_messages', locals: { target: @promotion_category } %>

<%= f.field_container :name, class: ['form-group'] do %>
  <%= f.label :name %>
  <%= f.text_field :name, class: 'form-control' %>
  <%= f.error_message_on :name %>
<% end %>
<%= f.field_container :code, class: ['form-group'] do %>
  <%= f.label :code %>
  <%= f.text_field :code, class: 'form-control' %>
<% end %>
